import ajax from '../../http.js'

export const user_login = data => ajax({
	name: 'user_login',
	data
});
export const get_code = data => ajax({
	name: 'get_code',
	data
});
/*获取收藏文章*/
export const get_follow_article = data => ajax({
	name: 'get_follow_article',
	data
});
/*获取关注作者*/
export const get_follow_author = data => ajax({
	name: 'get_follow_author',
	data
});

/*获取版本信息*/
export const get_current_version = data => ajax({
	name: 'get_current_version',
	data
});

/*获取我的文章*/
export const get_myArticle = data => ajax({
	name: 'get_myArticle',
	data
});

/*更新意见反馈*/
export const update_feedback = data => ajax({
	name: 'update_feedback',
	data
});

/*更新用户头像*/
export const updata_user_avatar = data => ajax({
	name: 'updata_user_avatar',
	data
});